/**
 * @filename:UserLevel 2023-4-20
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.FieldFill;

/**   
 * @Description:TODO(用户充值级别实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sn_user_level")
@ApiModel(value="sn_user_level对象", description="用户充值级别表")
public class UserLevel extends Model<UserLevel> {

	private static final long serialVersionUID = 1681951821107034L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "name") 	
	@ApiModelProperty(name = "name" , value = "说明")
    private String name;
    
    @TableField(value = "recharge_times") 	
	@ApiModelProperty(name = "recharge_times" , value = "充值次数")
    private Long recharge_times;
    
    @TableField(value = "recharge_total_from") 	
	@ApiModelProperty(name = "recharge_total_from" , value = "合计充值从")
    private Double recharge_total_from;
    
    @TableField(value = "recharge_total_to") 	
	@ApiModelProperty(name = "recharge_total_to" , value = "合计充值到")
    private Double recharge_total_to;
    
    @TableField(value = "status") 	
	@ApiModelProperty(name = "status" , value = "状态")
    private Integer status;
    
	@TableField(value = "create_time",fill=FieldFill.INSERT) 
	@ApiModelProperty(name = "create_time" , value = "创建时间")
    private Date create_time;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
